package com.newcoin.chat.service;

import com.newcoin.chat.beans.vo.ResultVo;
import org.springframework.web.multipart.MultipartFile;

public interface UploadService {

    /**
     * 聊天图片语音上传
     *
     * @param file
     * @return
     * @throws Exception
     */
    ResultVo<String> uploadChatFile(MultipartFile file, String type) throws Exception;


    /**
     * 朋友圈文件上传
     * @param files
     * @param type
     * @return
     * @throws Exception
     */
    ResultVo<String> uploadCircleOfFriendFile(MultipartFile[] files,String type) throws Exception;

    /**
     * 修改头像
     * @return
     * @throws Exception
     */
    ResultVo<String> uploadHeadFile(MultipartFile file) throws Exception;


}
